<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>食品经营许可证变更</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <link rel="stylesheet" href="#(basePath)/static/jquery-weui/css/weui.min.css">
    <link rel="stylesheet" href="#(basePath)/static/jquery-weui/css/jquery-weui.min.css">
    <link rel="stylesheet" href="#(basePath)/static/web/index/css/index.css">
    <style>

    </style>
</head>
<body>
<div class="page">
    <div class="page__hd">
        <div class="page__title">
            <h1>食品经营许可证变更</h1>
        </div>
    </div>
    <div class="page__bd page__bd_spacing">
        <form id="form"  action="#(basePath)/wfw/wsbs/saveBgxx" method="post" data-role="form" data-role="form" data-fixed="true"   next_url="">
            <input type="hidden" name="sblx" value="#(sblx)">
            <input type="hidden" name="ysblsh" value="#(ysblsh)">
            <input type="hidden" id="bgnrl" name="bgnrl" value="#(bgnrl)">
            <div class="weui-cells weui-cells_form">
                <div class="weui-cell">
                    <label class="cuiui-label ">食品经营许可证号</label>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd weui-cell__primary">
                        <input class="weui-input" type="text"  name="spjyxkzh" value="#(data.spjyxkzh??)"
                               placeholder="请输入食品经营许可证号" required>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell___hd"><label class="weui-label">变更内容</label></div>
                    <div class="weui-cell___bd">
                        <input class="weui-input" type="text" required id="bgnr" name="bgnr" value="#(data.bgnr??)" placeholder="请选择需要变更的项目">
                    </div>
                </div>
                <div class="weui-cell">
                    <label class="cuiui-label ">变更说明</label>
                </div>
                <div class="cuiui-cell">
                    <div class="weui-cell__bd weui-cell__primary">
                        <textarea class="weui-textarea" placeholder="请输入变更说明" rows="3" name="bz" >#(data.bz??)</textarea>
                        <div class="weui-textarea_counter"><span>0</span>/200</div>
                    </div>
                </div>
            </div>
            <div style="padding: 15px;">
                <button  class="weui-btn weui-btn_primary"  type="submit">下一步</button>
            </div>
            <br><br>

        </form>

    </div>
    <div class="page__footer">

       #include("/WEB-INF/main/footer.html")
    </div>
</div>
<script src="#(basePath)/static/web/index/js/index.js"></script>
<script src="#(basePath)/static/jquery-weui/js/cui-select.js"></script>
<script src="#(basePath)/static/js/AspUpload.js"></script>
</body>
<script>
/*    function initSqbData() {

        $.getJSON("#(basePath)/static/resources/sqbData.json?v=1.1", function (result) {
            console.log(result);
            sqbData = result;

            initData(result, "ztytlx");

            initData(result, "jyxmlx");
        });
    }
    function init() {
        initHide();
        initSqbData();
    }
    init();
    $("#live-picker").cityPicker({
        title: "请选择戶籍地址"
    });*/
    $("#bgnr").select({
        title: "请选择变更内容",
        multi: true,
        items: [
            {
                title: "变更企业信息",
                value: 11
            },
            {
                title: "变更证照材料信息",
                value: 12
            },
            {
                title: "变更法人信息",
                value: 13
            },
            {
                title: "变更经营",
                value: 14
            }
        ],onChange:function (val) {
            var va=val.values;
            $("#bgnrl").val(va);
            if($("#bgnrl").val().indexOf("11")!=-1){
                $("#form").attr("next_url","#(basePath)/toBgsb?step=qyxx");
            }else if($("#bgnrl").val().indexOf("12")!=-1){
                $("#form").attr("next_url","#(basePath)/toBgsb?step=frxx");
            }else if($("#bgnrl").val().indexOf("13")!=-1){
                $("#form").attr("next_url","#(basePath)/toBgsb?step=zzxx");
            }else if($("#bgnrl").val().indexOf("14")!=-1){
                $("#form").attr("next_url","#(basePath)/toBgsb?step=sbxx");
            }
        }
    });
</script>

</html>